Skip to content

[css-speech][editorial] Enforce positive <generic-voice> variant using range notation#14124

Merged
SebastianZ merged 1 commit into
w3c:mainfrom
cdoublev:patch-1
Jul 2, 2026
Merged

[css-speech][editorial] Enforce positive <generic-voice> variant using range notation#14124
SebastianZ merged 1 commit into
w3c:mainfrom
cdoublev:patch-1

Conversation

@cdoublev

@cdoublev cdoublev commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

The <integer> representing a voice-family variant is restricted to non-negative values in prose:

<integer>

An integer indicating the preferred variant (e.g. "the second male child voice"). Only positive integers (i.e. excluding zero) are allowed. The value 1 refers to the first of all matching voices.

But the <generic-voice> production rule does not enforce it with a range notation.

@cdoublev cdoublev changed the title [css-speech][editorial] Enforce non-negative <generic-voice> variant using range notation [css-speech][editorial] Enforce positive <generic-voice> variant using range notation Jul 2, 2026
@SebastianZ SebastianZ merged commit b99f0c7 into w3c:main Jul 2, 2026
1 check passed
@SebastianZ

Copy link
Copy Markdown
Contributor

Seems fine to me. Thanks @cdoublev!

Sebastian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants